package com.sinochem.yunlian.ship.common.enums;

import lombok.Getter;

/**
*自主注册APP = 0
 自主注册PC = 1
 签收邀请 = 2
 货主邀请 = 3
 船东邀请 = 4
 后台邀请APP = 5
 后台邀请PC = 6
 **/
public enum UserSource {
    ZZ_APP(0 , "自主注册APP"),
    ZZ_PC(1 , "自主注册PC"),
    ASSIGN(2 , "签收邀请"),
    CARGO(3 , "货主邀请"),
    SHIP(4, "船东邀请"),
    HT_APP(5 , "后台邀请APP"),
    HT_PC(6, "后台邀请PC");

    @Getter
    private int code;
    @Getter
    private String name;

     UserSource(int code, String name){
         this.code = code;
         this.name = name;
    }

}
